package club.ruanx.movie.repository.mongodb;

import club.ruanx.movie.entity.nosql.UploadLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author 阮胜
 * @date 2018/11/11 16:17
 */
public interface UploadLogRepository extends MongoRepository<UploadLog, String> {
    Page<UploadLog> findAllByType(String type, Pageable pageable);
}
